const mongoose = require('mongoose')
const { Schema } = mongoose

const userSchema = new Schema({
    user_id:Number,
    user_name: String,
    password: String,
    nickname:String,
    user_email:String,
    user_photo:String,
    user_register_time:Date,
    role:String,
})

const User = mongoose.model('user',userSchema)

module.exports = User
